package com.aspose.cells;

class zxp implements zagt {
   private boolean a = false;
   private boolean b = false;
   private boolean c = false;
   private boolean d = false;
   private double e = 0.0D;
   private boolean f = false;
   private boolean g = false;
   private boolean h = false;

   public boolean a() {
      return this.a;
   }

   public void a(boolean var1) {
      this.a = var1;
      if (this.a) {
         this.b = false;
      }

   }

   public boolean b() {
      return this.b;
   }

   public void b(boolean var1) {
      this.b = var1;
      if (this.b) {
         this.a = false;
      }

   }

   public boolean c() {
      return this.c;
   }

   public void c(boolean var1) {
      this.c = var1;
      if (this.c) {
         this.d = false;
      }

   }

   public boolean d() {
      return this.d;
   }

   public void d(boolean var1) {
      this.d = var1;
      if (this.d) {
         this.c = false;
      }

   }

   public double e() {
      if (this.d() && this.e < 0.0D) {
         return this.e;
      } else {
         return this.c() && this.e > 0.0D ? this.e : 0.0D;
      }
   }

   public void a(double var1) {
      this.e = var1;
   }

   public boolean f() {
      return this.f;
   }

   public void e(boolean var1) {
      this.f = var1;
      if (this.f) {
         this.g = false;
      }

   }

   public boolean g() {
      return this.g;
   }

   public void f(boolean var1) {
      this.g = var1;
      if (this.g) {
         this.f = false;
      }

   }

   public boolean h() {
      return this.h;
   }

   public void g(boolean var1) {
      this.h = var1;
   }

   boolean i() {
      if (this.b) {
         return false;
      } else if ((this.c || this.d) && this.e != 0.0D) {
         return false;
      } else if (this.f) {
         return false;
      } else if (this.g) {
         return false;
      } else {
         return !this.h;
      }
   }

   static void a(zagt var0, zagt var1) {
      var1.a(var0.a());
      var1.b(var0.b());
      var1.c(var0.c());
      var1.d(var0.d());
      var1.a(var0.e());
      var1.e(var0.f());
      var1.f(var0.g());
      var1.g(var0.h());
   }
}
